package com.ruoyi.pad.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import javax.validation.constraints.NotBlank;

/**
 * 电机库对象 ky_base_motor
 *
 * @date 2023-02-08
 */
@ApiModel("电机库对象")
public class KyBaseMotor extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 电机ID
     */
    private Long motorId;

    /**
     * 所属状态
     */
    @Excel(name = "所属状态")
    @ApiModelProperty("所属状态")
    private String belongFlag;

    /**
     * 所属企业
     */
    @Excel(name = "所属企业")
    @ApiModelProperty("所属企业")
    private Long deptId;

    /**
     * 所属用户
     */
    @Excel(name = "所属用户")
    @ApiModelProperty("所属用户")
    private Long userId;

    private String padSn;


    /**
     * 电机系列
     */
    @NotBlank(message = "电机系列")
    @ApiModelProperty("电机系列")
    @Excel(name = "电机系列")
    private String djxl;


    /**
     * 电机型号
     */
    @NotBlank(message = "电机型号")
    @ApiModelProperty("电机型号")
    @Excel(name = "电机型号")
    private String djxh;

    /**
     * 额定电压
     */
    @NotBlank(message = "额定电压")
    @ApiModelProperty("额定电压")
    @Excel(name = "额定电压")
    private String eddy;

    /**
     * 额定电流
     */
    @NotBlank(message = "额定电流")
    @ApiModelProperty("额定电流")
    @Excel(name = "额定电流")
    private String eddl;

    /**
     * 额定功率
     */
    @NotBlank(message = "额定功率")
    @ApiModelProperty("额定功率")
    @Excel(name = "额定功率")
    private String edgl;

    /**
     * 额定效率
     */
    @NotBlank(message = "额定效率")
    @ApiModelProperty("额定效率")
    @Excel(name = "额定效率")
    private String edxl;

    /**
     * 空载电流
     */
    @NotBlank(message = "空载电流")
    @ApiModelProperty("空载电流")
    @Excel(name = "空载电流")
    private String kzdl;

    /**
     * 空载功率
     */
    @NotBlank(message = "空载功率")
    @ApiModelProperty("空载功率")
    @Excel(name = "空载功率")
    private String kzgl;

    /**
     * 额定功率因数
     */
    @NotBlank(message = "额定功率因数")
    @ApiModelProperty("额定功率因数")
    @Excel(name = "额定功率因数")
    private String edglysh;

    /**
     * 级数
     */
    @NotBlank(message = "级数")
    @ApiModelProperty("级数")
    @Excel(name = "级数")
    private String jsh;

    /**
     * 无功经济当量
     */
    @NotBlank(message = "无功经济当量")
    @ApiModelProperty("无功经济当量")
    @Excel(name = "无功经济当量")
    private String wgjjdl;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public void setMotorId(Long motorId) {
        this.motorId = motorId;
    }

    public Long getMotorId() {
        return motorId;
    }

    public void setBelongFlag(String belongFlag) {
        this.belongFlag = belongFlag;
    }

    public String getBelongFlag() {
        return belongFlag;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public String getPadSn() {
        return padSn;
    }

    public void setPadSn(String padSn) {
        this.padSn = padSn;
    }

    public String getDjxl() {
        return djxl;
    }

    public void setDjxl(String djxl) {
        this.djxl = djxl;
    }

    public void setDjxh(String djxh) {
        this.djxh = djxh;
    }

    public String getDjxh() {
        return djxh;
    }

    public void setEddy(String eddy) {
        this.eddy = eddy;
    }

    public String getEddy() {
        return eddy;
    }

    public void setEddl(String eddl) {
        this.eddl = eddl;
    }

    public String getEddl() {
        return eddl;
    }

    public void setEdgl(String edgl) {
        this.edgl = edgl;
    }

    public String getEdgl() {
        return edgl;
    }

    public void setEdxl(String edxl) {
        this.edxl = edxl;
    }

    public String getEdxl() {
        return edxl;
    }

    public void setKzdl(String kzdl) {
        this.kzdl = kzdl;
    }

    public String getKzdl() {
        return kzdl;
    }

    public void setKzgl(String kzgl) {
        this.kzgl = kzgl;
    }

    public String getKzgl() {
        return kzgl;
    }

    public void setEdglysh(String edglysh) {
        this.edglysh = edglysh;
    }

    public String getEdglysh() {
        return edglysh;
    }

    public void setJsh(String jsh) {
        this.jsh = jsh;
    }

    public String getJsh() {
        return jsh;
    }

    public void setWgjjdl(String wgjjdl) {
        this.wgjjdl = wgjjdl;
    }

    public String getWgjjdl() {
        return wgjjdl;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return "KyBaseMotor{" +
                "motorId=" + motorId +
                ", belongFlag='" + belongFlag + '\'' +
                ", deptId=" + deptId +
                ", userId=" + userId +
                ", padSn='" + padSn + '\'' +
                ", djxl='" + djxl + '\'' +
                ", djxh='" + djxh + '\'' +
                ", eddy='" + eddy + '\'' +
                ", eddl='" + eddl + '\'' +
                ", edgl='" + edgl + '\'' +
                ", edxl='" + edxl + '\'' +
                ", kzdl='" + kzdl + '\'' +
                ", kzgl='" + kzgl + '\'' +
                ", edglysh='" + edglysh + '\'' +
                ", jsh='" + jsh + '\'' +
                ", wgjjdl='" + wgjjdl + '\'' +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
